package com.jzy.gulimall.authserver.feign;

import com.jzy.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author jzy
 * @date 2020/9/18 20:19
 */
@FeignClient("gulimall-cart")
public interface CartFeignService {

    @PostMapping("/mergeCart")
    R mergeCart(@RequestParam("userKey") String userKey, @RequestParam("userId") Long userId);
}
